package cn.ityao.es.entity;

/**
 * @author: tongyao
 * @since: 2025-07-31 09:26
 */
import lombok.Data;

@Data
public class GeoCNResponse {
    private String province;
    private String city;
    private String districts;
    private String isp;
    private String net;
    private int prefixLen;

    // 移除MaxMindDbConstructor注解
    public GeoCNResponse(
            String province,
            String city,
            String districts,
            String isp,
            String net,
            int prefixLen
    ) {
        this.province = province;
        this.city = city;
        this.districts = districts;
        this.isp = isp;
        this.net = net;
        this.prefixLen = prefixLen;
    }
}
